package com.vf.admin.miaodong.entity;

import com.vf.admin.common.db.annotation.Column;
import com.vf.admin.common.db.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 会员订单记录
 */
@Table(name = "vip_order")
@Data
public class VipOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(length = 11, name = "id", index = true)
    private Integer id;
    private Integer userId;
    private String orderNo;
    private Integer vipPackageId;
    private BigDecimal price;
    private String payType;
    @Column(name="refund_status")
    private Integer refundStatus; // 1.已退款
    private Integer status; // 0待支付 1已支付
    private Date createTime;
    private Date refundTime;//退款时间
    private Integer type;
    /**
     * 用户头像
     */
    private String pic;
    /**
     * 用户名称
     */
    private String nick;
    /**
     * 用户电话
     */
    private String phone;
    private String mobileSpec;
    private String mchName;
    private String mchId;
}
